import { createStore } from 'redux';
import reducer from './Reducer';

const initValues = {
  'First': 0,
  'Second': 10,
  'Third': 20,
}
// createStore函数，第一个参数代表更新状态的reducer，第二个参数是状态的初始值，第三个参数可选，代表Store Enhancer
const store = createStore(reducer, initValues);

export default store;

